package com.woniu.smart.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 企业表vo
 */
@Data
public class EnterpriseVo {

    private Integer enterpriseId;   // id

    private String enterpriseName;  //企业名称

    private String enterpriseCreditcode;  //信用代码

    private String enterprisePhone; //联系方式

    private String enterpriseBy3;  //

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date enterpriseDate;    //注册时间




    private Integer staffsId;    //关联企业员工表，用来查看企业负责人

    private String staffsName;  //关联企业员工姓名

    private String staffsTel;   // 关联企业联系方式
    private String staffstypeName;//企业员工类型

    private Integer contractId;  //合同id

    private Integer roomId;  //房间id

    private String roomName; //房间名称

    private Integer buildfloorId; //楼层id

    private String buildfloorName;//楼层名称
    private String buildingNum;//楼栋编号

    private String buildingId; //楼栋id

    private String buildingName;//楼栋名称

}
